package com.qf.service;

import com.qf.domain.User;

import java.util.List;

public interface UserService {
    boolean checkUserName(String username);

    void register(User user);

    User login(String username, String password);

    List<User> findName(String use, String gen);

    List<User> findUserInfo(String toString, List<Object> params, boolean flag);

    void removeId(int did);

    User findById(Integer uid);

}
